home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group98c.txt
/
000011_icon-group-sender _Fri Sep 11 08:22:13 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
1KB
Return-Path: <icon-group-sender>
Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) with SMTP id IAA24299
for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Fri, 11 Sep 1998 08:22:13 -0700 (MST)
Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA30712; Fri, 11 Sep 1998 08:21:46 -0700
Date: Thu, 10 Sep 1998 22:06:13 -0400 (EDT)
From: cwills@bix.com
Subject: RE: Context Switching
To: icon-group@optima.CS.Arizona.EDU
Message-Id: <9809102206.memo.65326@BIX.com>
X-Cosy-To: icon-group@optima.CS.Arizona.EDU
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
I believe that if one has access to a thread model, you could probably
implement the coswitch function. By careful use of semaphors and blocking
one could perform the switch. Under OS/2 the CSet (or VisualAge C compiler)
one could use the _beginthread facility.
The requirements would be:
1) all memory allocations from the OS have to be accessible from all
threads
2) only one thread can be active at a time
3) any files (or other system objects) have to be shared across all
threads
Cheyenne